Fix for names ending in "]".
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 6 Apr 2005 18:29:56 +0000 (18:29 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 6 Apr 2005 18:29:56 +0000 (18:29 +0000)
gpsbabel/geo.c

index 5caf4c0d9f94cc571c7951c3ab12ff01d9edf9f6..c93cdc5590e86a79505b2a3e42533748718b4531 100644 (file)
@@ -89,7 +89,7 @@ void wpt_name_s(const char *args, const char **attrv)
 
 void wpt_name(const char *args, const char **unused)
 {
-       if (args) wpt_tmp->description = xstrdup(args);
+       if (args) wpt_tmp->description = xstrappend(wpt_tmp->description,args);
 }
 
 void wpt_link_s(const char *args, const char **attrv)